package com.nhn.ssi.action;

import com.nhn.ssi.bean.Order;
import com.nhn.ssi.bo.TestBo;
import com.opensymphony.xwork2.ActionSupport;

public class OrderListAction extends ActionSupport {

	private static final long serialVersionUID = 1L;

	TestBo testBo;
	java.util.List<Order> list;

	public java.util.List<Order> getList() {
		return list;
	}

	public void setList(java.util.List<Order> list) {
		this.list = list;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public String execute() throws Exception {
		this.list = testBo.getOrderList();
		return "input";
	}

	public TestBo getTestBo() {
		return testBo;
	}

	public void setTestBo(TestBo testBo) {
		this.testBo = testBo;
	}

}
